package com.lark.sqlsession;

import java.util.List;

public interface SqlSession {
    //  查询所有
    <E> List<E> selectList(String statementId, Object... params) throws Exception;

    // 根据体哦见查询单个
    <T> T selectOne(String statementId, Object... params) throws Exception;

    // 为Dao接口胜场代理实现类
    <T> T getMapper(Class<T> mapperClass);
}
